package lab02.test35;

public class Test35 {
    public static void main(String[] args) {
        Manager m=new Manager("张汤",25000);

        Salesman s=new Salesman("小鹿",2500,40,90);

        Worker w=new Worker("黎璃",100,56);

        System.out.println("经理"+m.getName()+"的工资为："+m.monthSalary);

        System.out.println("销售人员"+s.getName()+"的工资为："+s.computeSalary());

        System.out.println("工人"+w.getName()+"的工资为："+w.computeSalary());
    }
}
